package com.xjj.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xjj.entity.School;
import com.xjj.entity.Student;
import com.xjj.mapper.TestMapper;
import com.xjj.service.TestService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author sxy
 * @version 1.0
 * @date 2022/10/20 9:28
 */
@Service
public class TestServiceImpl extends ServiceImpl<TestMapper,School> implements TestService {
    @Resource
    private TestMapper testMapper;


    @Override
    public List<Student> findAllSchool() {
        return testMapper.findAllSchool();
    }

    @Override
    public List<Student> test() {
        return testMapper.test();
    }
}
